package com.module.record.domain;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.io.Serializable;

/**
 * 设备上下线记录
 */
@Data
@Measurement(name = "record_online")
public class RecordOnline implements Serializable {

    /** deviceImei */
    @Column(name = "device_imei", tag = true)
    private String deviceImei;

    /** 在线状态 */
    @Column(name = "online_status")
    private String onlineStatus;

    /** 备注 */
    @Column(name = "remark")
    private String remark;

    /** 采集时间 */
    @Column(name = "time")
    private String time;
}
